package fu02;

public class FruiutTest {
    public static void main(String[] args) {
        Fruit b1 = new Fruit();
        b1.setName = "cherry";
        b1.stPrice = 5.0;
        b1.setArea = "fruit";
        System.out.println(b1);
        Fruit b2 = new Fruit();
        b2.setName = "apple";
        b2.stPrice = 6.0;
        b2.setArea = "fruit";
        System.out.println(b2);
        Fruit b3 = new Fruit();
        b3.setName = "pear";
        b3.stPrice = 7;
        b3.setArea = "fruit";
        System.out.println(b3);


}
}